package fun.werfamily.wf.base.vo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Mr.WenMing Zhang
 * @Date: 2023-04-08 12:44
 * @Description:
 */
public class PageInfo<T> {
    private Integer pageNo;
    private Integer total;
    private Integer pageSize;
    private Integer pageCount;
    private List<T> list;

    public PageInfo() {
    }

    public PageInfo(Integer total, Integer pageCount, Integer pageNo, List<T> list) {
        this.total = total;
        this.pageCount = pageCount;
        this.pageNo = pageNo;
        this.list = list;
    }

    public PageInfo(Integer total, Integer pageCount, List<T> list) {
        this.total = total;
        this.pageCount = pageCount;
        this.list = list;
    }

    public Integer getpageNo() {
        return this.pageNo;
    }

    public void setpageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTotal() {
        return this.total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getPageCount() {
        return this.pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public List<T> getList() {
        return this.list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
